put editString("RIGHT", field A,cd fld num) into field B
end mouseUp
-- part 2 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=296 top=214 right=231 bottom=327
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 97
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: num
-- part contents for background part 1
----- text -----
RIGHT
-- part contents for background part 2
----- text -----
RIGHT will return a substring portion of the right side of an input string. The function acts just like the BASIC language RIGHT$ function. This function is limited to strings only and will ignore any characters past position 255.
-- part contents for background part 3
----- text -----
editString("RIGHT", source, numChars)
• source is the intput variable or field containing the text
• numChars is the length of the desired substring
put editString("RIGHT", field A, 3) into field B If field A is "abcdefg" the function will return "efg"